package ngat.oss.simulation;

import ngat.phase2.*;

/** A simple mutable implementation of EnvironmentPredictor.*/
public class BasicMutableEnvironmentPredictor implements EnvironmentPredictor {

    /** The environment snapshot.*/
    private EnvironmentSnapshot env;

    /** Create a BasicMutableEnvironmentPredictor.*/
    public BasicMutableEnvironmentPredictor() {
	env = new EnvironmentSnapshot();
    }

    /** Set the seeing.*/
    public void setSeeing(int seeing) { 
	env.seeing = seeing; }
    
    /** Set the extinction.*/
    public void setPhotom(boolean photom) { 
	env.photom = photom; }

    /** Predict the environment at time.*/
    public EnvironmentSnapshot predictEnvironment(long time) {
	return env;
    }

}
